package net.zjitc.mapper;

import net.zjitc.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author admin
 * @Date 2019/5/21 9:00
 */
@Repository
public interface UserMapper {
    User user_login(@Param(value = "telephone") String telephone,
                    @Param(value = "password") String password);

    User search_tel(String telephone);

    void user_register(User user);

    User findById(int user_id);
}
